package com.iotek.ssm.service;

import com.iotek.ssm.pojo.*;
import org.springframework.web.context.support.AbstractRefreshableWebApplicationContext;

import java.util.List;

public interface ManagerService {
    Manager findByName(String name) throws Exception;

    void addEmployee(User user, ApplySheet applySheet, EntryTable entryTable, EmployeeStatus employeeStatus) throws Exception;

    void notEmploy(Integer userId, Integer applyId) throws Exception;

    EntryTable getEmployee(CustomQueryVo customQueryVo) throws Exception;

    void addRP(RewardPunishment rewardPunishment) throws Exception;

    void expelEmployee(Integer uId, Integer rId) throws Exception;

    List<Resume> findResumeList(Integer pId) throws Exception;

    List<EntryTable> findEntryList(CustomQueryVo customQueryVo)throws Exception;

    List<SalarySheet> getSalaryList(CustomQueryVo customQueryVo)throws  Exception;
}
